package com.myexam.service;

import java.util.List;

import com.myexam.model.Exam;
import com.myexam.model.StudentResult;
import com.myexam.model.Subject;
import com.myexam.model.Teacher;
import com.myexam.util.Page;
import com.myexam.util.PageResult;



public interface TeacherService {
	
	public boolean allowLogin(String teacherID,String password);

	@SuppressWarnings("rawtypes")
	public PageResult queryExamByPage(Page page);
	
	public List<Subject> queryExamSubject(int examID);
	
	public List<Exam> findExam();
	
	public Exam queryExam(int examID);

	public Teacher getTeacherInfo(String id);
	
	public boolean saveExam(Exam exam,Teacher teacher);
	
	public void deleteExam(int examID);
	
	public Exam examUpdateShow(int examID);
	
	public void examUpdate(int examID,int examStage);
	
	public boolean exam(int studentID,int examID);
	
	public List<StudentResult> studentResults(int studentID);
}
